package	com.mes.entity.check;

import com.mes.entity.hy.Factory;
import com.mes.entity.hy.Product;
import com.mes.entity.jy.Productroom;
import com.mes.utils.PageBean;

/**
 *
 *@ClassName: PatrolCheck
 *@Description: 巡检
 *@Author tdd
 *@Date 2019-05-29 11:14:10
 *@version 1.0
*/
public class PatrolCheck extends PageBean{
	/** id*/
	private Long id;
	/** 编号*/
	private String number;
	/** 日期*/
	private String createdate;
	/** 工厂*/
	private Long fid;
	private Factory factory;
	public Factory getFactory() {
		return factory;
	}
	public void setFactory(Factory factory) {
		this.factory = factory;
	}
	/** 车间*/
	private Long cid;
	private Productroom productroom;
	public Productroom getProductroom() {
		return productroom;
	}
	public void setProductroom(Productroom productroom) {
		this.productroom = productroom;
	}
	/** 机台号*/
	private String machine;
	/** 产品id*/
	private Long pid;
	private Product product;
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	/** 检查项目*/
	private String item;
	/** 检查标准*/
	private String criterion;
	/** 录入人id*/
	private Long sid;
	public void setId(Long id){
		this.id = id;
	}
	public Long getId(){
		return id;
	}
	public void setNumber(String number){
		this.number = number== null ? null : number.trim();
	}
	public String getNumber(){
		return number;
	}
	public void setCreatedate(String createdate){
		this.createdate = createdate== null ? null : createdate.trim();
	}
	public String getCreatedate(){
		return createdate;
	}
	public void setFid(Long fid){
		this.fid = fid;
	}
	public Long getFid(){
		return fid;
	}
	public void setCid(Long cid){
		this.cid = cid;
	}
	public Long getCid(){
		return cid;
	}
	public void setMachine(String machine){
		this.machine = machine== null ? null : machine.trim();
	}
	public String getMachine(){
		return machine;
	}
	public void setPid(Long pid){
		this.pid = pid;
	}
	public Long getPid(){
		return pid;
	}
	public void setItem(String item){
		this.item = item== null ? null : item.trim();
	}
	public String getItem(){
		return item;
	}
	public void setCriterion(String criterion){
		this.criterion = criterion== null ? null : criterion.trim();
	}
	public String getCriterion(){
		return criterion;
	}
	public Long getSid() {
		return sid;
	}
	public void setSid(Long sid) {
		this.sid = sid;
	}
	
}
